import requests
import json

def sendEmail(input_text):
   """
   Send email content to specified email address
   Parameters:
   input_text (str): The specified content of the email
   :param input_text:
   :return:
   """
   try:
      url = "https://chat.jijyun.cn/v1/openapi/exposed/280007_1524_jjyibotID_c57f51325121479f8cf611305ba0a2a7/execute/?apiKey=vsScUzU2VaP6upMWdz8092us1743005332"

      payload = json.dumps({
         "instructions": "今天学习了autogenstudio,发送到448341911@qq.com",
         "preview_only": False
      })
      headers = {
         'Content-Type': 'application/json'
      }

      response = requests.request("POST", url, headers=headers, data=payload)

      print(response.text)
   except Exception as e:
      print(e)
      return f"An error occurred: {str(e)}"

sendEmail('帮我随便写5个数字，发送到448341911@qq.com')